package com.xiaocikuai.smallchunks.entity.Transaction;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author1
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yshop_redemption_code")
public class RedemptionCode implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "rd_id", type = IdType.AUTO)
    private Integer rdId;

    /**
     * 可用商品
     */
    @TableField("tid")
    private String tid;

    /**
     * 兑换码
     */
    @TableField("code")
    private String code;

    @TableField("duid")
    private Integer duid;


}
